<?php
    $array = "this is a string";
    $array = is_array($array)?$array:array($array);
    foreach ($array as &$obj) {
        $obj = $obj."1";
    }
    print_r($array);
    $array = array("this is a string","asta","astg");
    $array = is_array($array)?$array:array($array);
    foreach ($array as &$obj) {
        $obj = $obj."1";
    }
    print_r($array);
    if (!0) {
        echo "hej";
    } else {
        echo "lol";
    }
    
    $first = true;
    $asd = array("key"=>"value", "2nd"=>"andra", "3dje"=>"tredje");
    foreach ($asd as $key=>$value) {
    	echo ($first?"?":"&") . $key . "=" . $value;
    	$first = false;
    }
?>